{foreach $topAlbums as $nm => $album}
	<li><a href="/gallery/{$album[''].code}">{$nm}</a></li>
{/foreach}